
public class MyRoom {
	private String roomID;
	private String roomName;
	private float priceDay;
	private float priceNight;
	private String roomDescription;
	
	
	private static final int ROOM_ID = 0;
	private static final int ROOM_NAME = 1;
	private static final int PRICE_DAY = 2;
	private static final int PRICE_NIGHT = 3;
	private static final int ROOM_DESCRIPTION = 4;
	
	public MyRoom(){
		
	}
	
	public MyRoom(String[] data){
		this.roomID = data[ROOM_ID];
		this.roomName = data[ROOM_NAME];
		this.priceDay = (Float.valueOf(data[PRICE_DAY]));
		this.priceNight = (Float.valueOf(data[PRICE_NIGHT]));
		this.roomDescription = data[ROOM_DESCRIPTION];
		
	}

	public String getRoomID() {
		return roomID;
	}

	public void setRoomID(String roomID) {
		this.roomID = roomID;
	}

	public String getRoomName() {
		return roomName;
	}

	public void setRoomName(String roomName) {
		this.roomName = roomName;
	}

	public float getPriceDay() {
		return priceDay;
	}

	public void setPriceDay(float priceDay) {
		this.priceDay = priceDay;
	}

	public float getPriceNight() {
		return priceNight;
	}

	public void setPriceNight(float priceNight) {
		this.priceNight = priceNight;
	}

	public String getRoomDescription() {
		return roomDescription;
	}

	public void setRoomDescription(String roomDescription) {
		this.roomDescription = roomDescription;
	}
	
	
}
